from app import db


class User(db.Model):
    __tablename__ = 'sys_user'
    id = db.Column(db.Integer, primary_key=True)
    username = db.Column(db.String(80), unique=False, nullable=True)
    password = db.Column(db.String(80), unique=False, nullable=True)
    real_name = db.Column(db.String(80), unique=False, nullable=True)
    isactive = db.Column(db.String(20), nullable=True)
    email = db.Column(db.String(80), nullable=True)
    created = db.Column(db.DateTime, nullable=True)
